
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>小说阅读网触屏版-免费、言情、校园、玄幻、武侠等手机小说在线阅读</title>
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta content="yes" name="apple-mobile-web-app-capable" />
<meta content="black" name="apple-mobile-web-app-status-bar-style" />
<meta name="format-detection" content="telephone=no" />
<link href="/Public/shenma/css/base.css?v=20150805" rel="stylesheet" type="text/css">
<link href="/Public/shenma/css/search-base.css?v=20150805" rel="stylesheet" type="text/css">
<link href="/Public/shenma/css/2014-nosearch.css?v=20150805" rel="stylesheet" type="text/css">
<!-- <link href="/Public/shenma/css/2014-footer.css?v=20150805" rel="stylesheet" type="text/css"> -->
<script src="/Public/shenma/js/jquery.js?v=201412209" type="text/javascript"></script>
<script src="/Public/shenma/js/common.js?v=201412209" type="text/javascript"></script>
</head>

<body class="index">
    <div class="bookinfo">
        <div class="book_title">
            <a href="javascript:history.go(-1)" class="return">
                <div class="arrows-left">
                    <span class="icon1"><span class="icon2"></span></span>
                </div>
            </a>
            <h2>搜索结果</h2>
            <a class="dh_select" href="javascript:Common.toggleTopNav();">导航</a>
            <div id="topNavBox" class="catalogbox" style="display: none;">
                <span class="arrow_up"></span>
                <div class="catalog">
                    <a href="/index.php/Home/shenma">首页</a> <a href="/usercp.html">个人中心</a> 
                </div>
                <div class="line"></div>
            </div>
        </div>
    </div>

    <div class="list">
        <div class="title">
            <h3>(共搜索到{$content.total}部作品)</h3>
        </div>
        
        <foreach name="content.list" item="item">
        <dl class="li1">
            <a href="{:U('addBook?gid='.$item[book_id])}">
                <dt>{$item.book_name}</dt>
                <dd class="pic">
                    <img src="{$item.logo}">
                </dd>
                <dd class="info">
                    {$item.author} <span>{$item.book_status}</span>
                </dd>
                <dd class="info">{:mb_substr($item[summary], 30)}</dd>
                <dd class="sort">{$item.category_name}</dd>
                <dd class="arrows">
                    <span class="icon1"><span class="icon2"></span></span>
                </dd>
            </a>
        </dl>
        </foreach>
        
        <br />
        <gt name="content.total" value="20">
        <div class="button-more">
            <div style="height: 20px; width: 100%"></div>
            <div class="more btn-grey button-last_text_time">
                <a href="javascript:add_more('{$content.key}',1);">点击加载更多</a>
            </div>
        </div>
        </gt>
    </div>

    <!-- 公共脚 -->
    <div class="footer">
        <div class="back2top">
            <a href="#top">回到顶部</a>
        </div>
    </div>


    <!--搜索页收集搜索相关信息-->
<script type="text/javascript">
 
//加载更多文件
    function add_more(key,page){
     $.ajax({
          type:"post",
          url:"{:U('Shenma/ajax_searchMore')}",
          data:{key:key,page:page},
          success:function(data,statu){
              if(data == 1 || data == 2){
                  alert("请求错误请刷新重试！");
              }else{
                  $(".button-more").before(data);
              }
         },
          error:function(e,status){
              if(status=='timeout'){
                  alert('请求超时，请检查网络后重试！');
              }else{
                 alert('网络原因未能成功加载，稍后请重试！');
              }
          }
      });
}
</script>
</body>
</html>
